//
//  YFImagePicker.h
//  ImagePickerDemo
//
//  Created by Winny Zhang on 2019/4/8.
//  Copyright © 2019 Winny Zhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <Photos/Photos.h>

@class TZImagePickerController;


NS_ASSUME_NONNULL_BEGIN

@interface YFImagePicker : NSObject

/**
 多选图片
 
 @param maxImagesCount 最大可选图片数
 @param imagesCompletion 回调
 */
+ (void)multiplePickerWithMaxImagesCount:(NSInteger)maxImagesCount selecteImages:(NSArray *)selectImages
                     completedWithImages:(void(^)(NSArray <UIImage *> *photos, NSArray<PHAsset *> *assets, BOOL isSelectOriginalPhoto))imagesCompletion;

/**
 单选视频
 
 @param videoCompletion 回调
 */
+ (void)singlePickerVideoWithCompletion:(void(^)(UIImage *coverImage, NSString * filePath,long audioDurationSeconds))videoCompletion;

@end

NS_ASSUME_NONNULL_END
